package com.ljq.ioc.model;

import com.ljq.ioc.annotation.Bean;
import com.ljq.ioc.annotation.Component;
import com.ljq.ioc.model.debug.G;
import com.ljq.ioc.model.debug.H;
import com.ljq.ioc.model.impl.E;

@Component
public class Configuration {

    @Bean
    public F getF(A a){
        return new F(a);
    }

    @Bean
    public E getE(F f){
        return new E(f);
    }

    @Bean
    public G getG(H h){
        return new G(h);
    }

    @Bean
    public H getG(G g){
        return new H(g);
    }
}
